Current File : //usr/lib/python3/dist-packages/twisted/scripts/__pycache__/_twistw.cpython-312.pyc |
�
Ϫ�f � � � d dl Z d dlZd dlmZ d dlmZmZmZ d dlm Z G d� dej � Z
G d� dej � Zy) � N)� copyright)�app�internet�service)�logc � � e Zd ZdZg d�gZd� Zy)�
ServerOptionszUsage: twistd [options])�nodaemon�nz(for backwards compatibility).c �� � t dt j � �| j �� t t j | j �� t j
� y)z5
Print version information and exit.
z$twistd (the Twisted Windows runner) )�fileN)�printr �version�stdout�sys�exit��selfs �9/usr/lib/python3/dist-packages/twisted/scripts/_twistw.py�opt_versionzServerOptions.opt_version sC � � �2�9�3D�3D�2E�F����
� �i�!�!����4����
� N)�__name__�
__module__�__qualname__�synopsis�optFlagsr � r r r r s � �(�H� <��H� r r c � � e Zd ZdZd� Zd� Zy)�WindowsApplicationRunnerzn
An ApplicationRunner which avoids unix-specific things. No
forking, no PID files, no privileges.
c � � t j | _ t j | _ t j | j d � y)z4
Do pre-application-creation setup.
�rundirN)r r � oldstdout�stderr� oldstderr�os�chdir�configr s r �preApplicationz'WindowsApplicationRunner.preApplication'